package com.mlnx.data.dao;

import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.BpInfo;
import com.mlnx.data.pojo.form.BpInfoForm;
import com.mlnx.data.pojo.vo.BpInfoVo;

import java.util.List;

/**
 * Created by amanda.shan on 2019/10/27.
 */
public interface BpStore {

    void init();

    void save(BpInfo bpInfo);

    List<BpInfo> getBps(Integer patientId, Long startTime, Long endTime);

    void updateBp(BpInfo bpInfo);

    void deleteBp(BpInfo bpInfo);

    BpInfoVo getPageBps(PageForm pageForm, BpInfoForm bpInfoForm);
}
